Created ProcessManager and IProcess to handle game logic.