Added MIT license to code. Organized files.