add API module
change base_controller