Some changes on build init types based on REVIEW-3243
- start composing different init descriptors
- seperate init ids from descriptors
- move file generation into seperate util class for better testing