Added license file and changed readme.
Header is now hidden.
Added error handling.