Add inheritan classes, migration