Use reflection to pass arguments instead of broken switch.
Fixed camelCase styling.
Merge pull request #10 from tsjost/master

Use reflection to pass arguments instead of broken switch.