Initial port of ytdb over to mangos