First commit. Included pretty much all the source code.