inheritance handling

fixes loading parent class in devil bot