Move deployments file managing to a different class
Add base deploy command