Bugfix in relative paths, skeleton of DB class