Got the setup command working, to help when creating a new installation of coanda.
A few bugs found by scrutinizer-ci