option for loading controllers from class