Education software firm moving headquarters to Lafayette