Add base module and some initial helpers

Signed-off-by: Ken Barber <ken@bob.sh>