[READY] Eventmachine based

This pull request is the initial version to get the server working using event machine.