moving options processing to helpers file
Merge pull request #10 from vernak2539/adding-helpers

moving options processing to helpers file