Goals controller

The goals controller is fully functional