pep8 compiliance, docs, tomcat6 support