Added beginning of a insert class function