Creating Springlike framework