Design and Modelling of Technologies for Upgrading and Direct Methanation of biogas: Energy analysis and economic assessment