Memory leak fixed + PEP-8 overhaul + some refactoring
Merge pull request #5 from obtuse/dev

Fixed memory leak, cleaned up code, added performance improvements, refactored some more