add key
init model class