Spring programmatic configuration and more