Revert "Added the ScopeGuard.h for RAII"

This reverts commit 73c6a281f6d575e645b619364849acf55ab89ea1.