Creates functions for Auctions model