Wrote call function to allow calling of module methods. Closes #5