rearrange files, remove init.js and moved into main.js