Basic Server side code.