new main.c file, with functions parsed out for BMI-ing
Merge branch 'master' of https://github.com/plimber/cem