added parameters to getSqlBetweenStatement()
fill data structures completed