Added license.
Added some documentation and text files.
Added global.h for global defines.