create constants file and implement enum for service type