include errno.h and declare a function to initialize global options
declare global options struct and initialize it