updated default config with go functions
changed reader function implementations to use only a single function
capture outputs in byte arrays and store outputs as byte arrays instead of strings
add date reader
move some main function code to separate functions
move flags parsing to main