Added layer trait and a game layer.