Added basic file structure.
Added license headers and fixed basic structure.