added raw sql statement capability to addWhere
added table prefix support