A minimal bot core written in Groovy