Added controller initializer

This PR adds a controller initializer that injects an instance of the client to controllers implementing a specific interface.