Designing Metabolite Biosensors and Engineering Genetic Circuits to Regulate Metabolic Pathways