Gave Controller to Form

Changed the controller from being in Main to in the new Form object. Not
sure if this is the right move