Interface for prediction mode
Merge pull request #4 from xilix/dev

Interface for prediction mode