apparently source is not always available..
also use configuration file in upstart
start distributed api by default
init.d init info
use distinct ip addresses for api and dist
enforce logdir variable
enable all variables except for distaddr in the configuration file by default
cleanup old code