add module mongoose schema extend in order to use inheritances in the schema