added classify functionality and lots of test
additions and ranking is now working in theory
Major restructure clusters