PEP 8 and moved PMT class out of the server module.