Major update. Added resourcify for controllers.