moves views to separate files