Adding Spring initial configuration, controller, and generic bean.