Initializes Andengine and created GameActivity and ResourceManager.