do a mix of CII and K&R
implement table release
first draft pre-alpha implementation
fix prefix names of functions and add prototypes to static functions