Merge pull request #7 from aweiteka/extend

refactor into classes
Added support to carry the command that is passed on docker run
fix typo
support short cuids but write file using full cuid