A moving average module for the AIM repository