Merge pull request #5 from greenbell/custom-run-loop-mode

Add a way to set run loop mode
Fix incorrect camel case