initializes sqltables if they don't exist; no longer creates view if no sqltables on rhs