moved GameManager to package 'logic'