Moved the include to the proper header file

Removed resource.h as it is unneeded.