modularized the Spring configuration so we can have different profiles for OpenShift and development