Still trying to address issue #1 about the sql. Main tables are there, but the tag and transaction tables still need to come out