init resources database