I redesigned the layout, also embedded server-client code

I redesign the layout also embedded server-client code.  I also changed
some id, class.