Corrected and added dependencies
Added environment representation reasoning