Converted the Renderable module into a class and refactored Page and Post to use inheritance instead of composition.