[JAVA] Encapsulate more sim into cells, in progress

- Refactor in progress
- Single-thread sim working OK
- Multi-thread sim not yet converted, not working