Fluent api
Register beans in constructor