Changed Contact class to abstract