Very basic api part and tests
gofmt