allow defining jobs with function only

- new api for jobs - function only
Merge pull request #62 from timruffles/quick-define

allow defining jobs with function only