Functions and Require

At @glennblock's request :wink: