Added Logging and several resource manager