add inheritance in Stage object
Add two kind of structure, remove unused lib