Changed project structure to be 'go get'able.
Added error handling to database package.