Initial implementation of the classify method

This isn't working yet, but this is the beginning of the implementation.
Might as well make these ``private`` methods, instead of ``protected``, since we're in an object.