Separate engine. Started server.

Separated the engine from the html file. Also began working on the
server side of things. When a client connects the server will look for a
waiting player and match them to play.