Added some preliminary code for a local sever.