Factorize init code + introduce display API