Removed reference to spurious "app" method

Fixes #146 

Also cleaned up some whitespace for PEP8 compliance