Adds Controller class