Added database persistence using EntityFramework 6.