set up controller and model
added views files and configured routes