Exporting general purpose functions to an abstract controller and fixing default values for price search