separte golocate library and command line binary