Backend for treemdb project