Separated settings into own module. Modified wsgi