Convert code base and basic tests to Dancer2 syntax.