seperate bean definition for services