Init db and project document