First (draft) version of auto deploy database