Implementing live learning

Implemented first live learning
Revert "Implementing live learning"

This reverts commit 7772acdafd942cebe1fa03b1870c81eb4720d441.
Revert "Revert "Implementing live learning""

This reverts commit 4075234938b3d0e59914df54b3411d196ab78c37.