Rename Execute to Exec
Use constants for OIDs
Replace SelectFunc with Query as core