adding web toolbox + a few changes in machine learning