Create an Abstract ContentPage and Type class to be extended on

You couldn't extend ContentPage because it was already an Entity. So I created an AbstractContentPage class which will be extendable and is extended by ContentPage.