Rewrote most code, refactored to be semantically correct, fixed Exceptions and error handling
Updated README, removed now-superfluous constructor
Merge pull request #1 from ayan4m1/master

Fixups