Quick update to interface. Can now write generic SQL  queries.