added functions and docset name

- added parser for functions
- added dynamic docset name if output is given