Generic Template Classes

Added base classes for the mod instance.