Core of service written in Go