Survey says online classes growing in popularity