implemented saving method

started implementing load method
implemented loading
Fixed formatting issue
Changed format method slightly.