Refactor common code, add top office search
refactor some more code and add pictures/link to box office if search query is less than 3