dry up make file and add migrations
add default general config
fix error exit codes
add base tests
realign stacks/frame variables