removed old, commented out code
added method to return objects based on a provided sql query
significant speed improvements for idno and date range searches.
todo added