Add console FE
Small changes to davide_trainer