Added dumpResource() and made some formatting changes
Added Method dumping
Added Documentation