Initial port of pyramidstack code to Go