Refactored Spring context builder, added SpringSecurity builder.