seperate config from from Api to Console