Move paths to be more Go-idiomatic

Update imports to match folder structure

Fix Travis
Merge pull request #2 from dinedal/master

Move paths to be more Go-idiomatic
fix an import issue.
Use the flag package to handle command line options.
avoid using global variables.