fixed some bugs, expanded readme