add spring context and db properties