lib, tests and scaffolding