Big refactoring of INSERT/UPDATE queries generation
Streamline variable bindings