mudulize controller adapter

Create new folder in core for each type of controller.