Preliminary work on Classify function

Still just getting the basics together