expose resource methods to main module