pep8 compliance and webserve fixing