Moving JS app structure files to self directory