Added some comments, cleaned up code.
Cleaned up code, added README