Split stuff that just deals with contract off
Code and some gui to launch, pay and release.(untested)