small refactoring and start implementing vw model learn