moved db to simplify server