Creating interface between UI and game layer.