Do blocking IO in the background
Add functional Geb specs
Extract the rest endpoint and add a unit test.