AV-13: refactored connectServiceProducer controller, moved initializers to the top