cleaning up code.
updated readme.