initial version of deploy script with config files, includes for hosttypes, etc. Needs testing.