Finished commenting. Added logging and verbosity support. Finished readme.