Refactoring input args
Refactoring specs
Adding generated doc files
Adding doc generator to composer