updates readme with abstract class usage