register as AMD module