Added beans config sample code and configuration.