Added instances to the client/server
Added main display loop