router.attach("/" + CONTEXTS, ContextsResource.class);
router.attach("/" + SIZE, SizeResource.class);
router.attach("/" + METADATA, MetaDataResource.class);
router.attach("/" + NAMESPACES, createNamespacesRouter(c));
router.attach("/" + BNODES, BNodesResource.class);
router.attach("/" + QUERIES, createQueriesRouter(c));
router.attach("/" + BEGIN, BeginTxnResource.class);
router.attach("/" + COMMIT, CommitTxnResource.class);
router.attach("/" + ROLLBACK, RollbackTxnResource.class);
router.attach("/" + PING, PingConnectionResource.class);
router.attach("", new QueryParser(c, new QueryTypeRouter(c, ConnectionResource.class)));