Added message handlers
Made parser consistent, added handlers for messages
Created class to wrap a Queue for actually dispatching requests, etc.