Creating analysis class.