adding spring context class