refactored submitter_app for other than file system sources