Refactor integration spec app to be more idiomatic

This shows that the substation independent code
(the actual domain code) can live in dedicated
projects/gems/whatever.