Preliminary implementation of server-side stuffs