refactor cli commands + add mar apps:scale