add controllers and entities