WIP: Initial setup of server functions.