Moved Spring configuration to JavaConfig.
Added dev Spring profile. No other profiles, yet.