Added the actual code.
Added README.md, License File.
Minor cleanup, comments.