Fixed code style
Fixed code style, minor changes
Global refactoring
Global refactoring
SimplePredictor was refactored, fixed some bugs