Refactoring code - separating search from index to be able to make reservations to specific seats