resolved some bugs and added README