Moving price-getting functions to a separate file