initial commit extracted from dl-learner index classes.