Added handled of spring profiles using annotations ActiveProfiles.