adding readme, bug fixes