setup initializing service and controllers