Added a submitJob interface that returns a Future of the result.