Moved some code from GUI to Business class. Logic and searching should
not go in GUI class