extracted dsl methods into modules
Merge pull request #714 from dspaeth-faber/extract_dsl_from_api_class

Proposal: extract dsl methods into modules