Changed the Cukes version to 1.1.8 and refactoring

Refactored the example changing the imports