Added a frontend, plus fixed on the example and the engine