updated file structure. changed templates and views to more proper app structure