multidb: First working version of the submission application.

Issues #192