server somewhat working

but not really