Tidied up Server code 

Ive removed alot of the mercurious code and updated the express base to express 4.