WIP: start splitting project: add "dragonlib"