changed database to in memory and adjusted paths to be all relative