migrated classifier code to main