Simple inventory window

Hi , i'm learning how JS plugins works in RPGM MV and i want to practice by coding a simple window with an inventory on it. To understand the logic behind i really need your help to show me some code to learn ( this is how my brain works ) . What i want is not complicated :

- Create a window
- Put an inventory scene on it ( With rows and cols and a cursor for each slot of each items in your inventory )
- Rely this to the main char. inventory

Any help will be appreciated, Thanks !

Original thread: https://forums.rpgmakerweb.com/threads/simple-inventory-window.95456/