separate server and db create