Prepare dependencies for REST backend
Initial DB handling