Creating a goal controller with views