Add sliding window module.
Refactor model datatype using the sliding window.