Manage dependencies with gom.

Also introduce Makefile.