added table schema
created sql helper