initial version of command parser and automatic docs