The mechanics of non-linear materials with memory