server works

its probably buggy but there is a hacked together version that works