add contextual gestion for the handlers
fix a bug in the imports of the Views