commit class