Added gtest and split the resource manager into 2 projects.