Move view templates to separate files