Removing hardcoded path to db