some cleanup and documentation
updated readme