renamed Vector into Feature => avoid confusion with scala vectors