Simple EM client server, and some stuffs