Thought about Control System, REST and groovy