game updated

code reorganization