change license and add some documentation
some more stuff added