This commit adds a Makefile with installation, testing, flake detection and utiliites. It is a reduced version of the Makefile used for LND.