Added views to files for separation of concerns
Used more standardized code