Relative filepaths stored in DB

Fixes #373 
Reissued to get testing to work