fixes #2; fixes #5; fixes #7; fixes #9; fixes #11; fixes #12 - refactorings and improved organization; added setup.py script
removed commented out code