put into package

The main program has been put in a package, because of godoc