saperate all the files created init.js to init object for the app