Added ability to use custom SQL queries in the Lookup class.
Added ability to use custom SQL queries in the Lookup class.

EPICScotland/Broadwick,EPICScotland/Broadwick,EPICScotland/Broadwick,EPICScotland/Broadwick