Move $stmt->insert_id, MySQLi didn't like it where it was for some reason
Make static methods which create database rows return the object they created