Added controller class to deal with making gui so I could merge with JJ's stuff easier.