Cleaned up project, and added comments. Revised README.md.