populate resource models once at startup instead of on every request