Finished base implementation

- fix initial grid states
- fix multi threading