Added the main inheratance class