Search + Get Update

Changed logic of search in Table class, added getTable : Table& method
in Database class.