new: Refactor commands common code
also reuse management commands in standalone scripts and move version import to package level.
Closes #33 (closed)
also reuse management commands in standalone scripts and move version import to package level.
Closes #33 (closed)