add moment module and complete configuration