settings module added to lib
api_controller added