First commit of server-side code. Wiki to come.