Although we can write code directly onto the table, this can limit the extendability of the code, should its complexity increase. In later chapters, we will refactor this class so that it uses the SysExtension pattern. This is where the actual class is constructed in a factory method based on metadata. This would be very difficult should the code be on the table, as we need to change all of the code that calls the methods on the table.
We will, therefore, create a table handler class and move the existing instance methods to this class.