added license
added more documentation