Updated documentation and PEP8