bugfixes in setup and deploy
switched relay to using ~/.phoenix
implemented sync command