make server seperate for db from files