move printf and typeconversion to common to reduce visual clutter of
main source directory.