Abstracted out insert method from tables