Initial port of internal gongbot to open source.