[wip] refactoring ui

*   define clear data models for character, cell and collisions
*   create a function for each action