Cleanup code. Added README.