general code cleanup
update the readme