pep8 compliance for api
removing common config from api