Text this: Investigation of the structural properties and applications of phosphate based glasses