setup template + organizing controller and view files