move types, prototypes and includes to crctk.h
enable the use of long options