Commented ResourceAllocator.hpp
Some small fixes