Cleaned up .gitignor, PEP-8 issues and documentation