Trains and tests the classifier

This is the main file, everything starts here.