Added Teacher class and then used SINGLE_TABLE strategy for inheritance.