Changes the storage to use jpa

Will now store all data in a temporary in memory repository via jpa.