Refactoring

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
Engine test added. TinyOptimizer fixed(missed range requests)

Signed-off-by: Sergey Krivohatskiy <s.krivohatskiy@gmail.com>
Merge branches 'master' and 'master' of https://github.com/cscenter/Vindur