Sustainability of Biogas Based Projects: Technical and Economic Analysis