readme updates and code cleanup