Clean up of the code. Adding README.