made app controller, started connecting views and model