server in seperate file