Starting to implement resource manager

working with "dziedziczenie"