Code of civil servant to be prepared in coming months