validated server files
reverted file
Separated dumb client and interface
fixed jquery error