more packaging preparations
move madparts and cli to main/
add coverage test
fix 'make' run program hook