cleaning up code and adding additional readme info.