reorganized views, models, etc into separate files