extracted resource base class
removed unnecessary property
still working on resource commented out image for now