Migrate data related code out to data/data.go

Test code can now use the same data definitions as server.
Minor fix to root Makefile

Use export for environment variables