To add objects to the controller