added resource.h to repo