Use _invalidate and _validate, these functions should not be used outside the bind_result object
Implement named prepared statements, deallocate them after the object goes out of scope. TODO: checking for sql errors.