Creating a GenericContext Class