Added some documentation. And some license stuff.