included contact class in database