formatting; added more api routes