moved commone file into routes folder for proper data folder reference