refactored main app usage, and added execute-command that can be used to run futures with given parameters