added logging statements
removed unnecessary files
moved options object