expanded on the resource loader and added some appropriate dependency classes