changed the tables names to snake case