Added controller and models and new template and notes