Added classes Graph and PersitenceUtilities and according tests