Allow main method to be called from elsewhere
Task for generating a limited set of exports