allow to pass arguments to parse_options
specify logger name when fetching log file handler
reorganize main function to make unit testing of command line options easier
add first unit tests for eb command line options