Create \ refactor window functions. Add OB encoding logic.
Committing CB work