refactored again. abstracted feature calculation away from classifier as feature calculation is unique to each project