Added readme, bug fixes