CLI-11 #time 20m Fixed bug with index value for appendFileAt func.
CLI-11 #time 1h Refactored control generate logic and added calls for amin file handler.
CLI-11 #time 20m Fixed bug with 'require' statement generated by main file handler.
CLI-11 #time 30m Fixed issue with append position in references and main project files.