Reorganize for better unit testing.
Update gitignore
Fix integration test path
Add main.go to make it go gettable