integrated options and logger class to scanner