Use commands for jobs

implementation for issue #56, using commands for jobs