add license
added pdf creation and lots of other stuff