Corretion on indexing (now it is 0 indexed)
Reorganized recommend and ensemble

Reorganized recommend and ensemble into classes.
Added some tests with ensemble
Removed trailing whitespaces (sorry)