[DEV] transfert on Environement and some shared_ptr added