Tools for whole slide image processing and classification