Added ResourceManager.java
Chaged ResourceManager (non-static)