Resolved some problems. Reconfigured ResourceManager to a classy Class