refactored MLPredictor and MainModel; added piccolo2d to lib (does not appear to be stored in a maven repo).