new way of storing resources, getters/setters for parameters

introducing changeable resource managers
setters also aware of manager they are stored in
added resource comparison methods and resource manager comparison