Added anonymous self executed wrapper function

Fixes #66