added a controller so that the stuff can be updated and whatnots