Added functionality to business search and cleaned up the code a bit.