public static void main(String[] args) {
        Properties props = new Properties();
        try {
            props.load(ResourceLoader.getResourceAsStream("game.properties"));
            Config config = new Config(props);
            Game game = new Game("PlatformerState");
            AppGameContainer app = new AppGameContainer(game);
            app.setIcons( new String[] {"res/icon/16x16.png", "res/icon/32x32.png"} );  //load icons
            app.setDisplayMode(config.getInteger(Config.WINDOW_WIDTH_CONFIG_KEY), 
                    config.getInteger(Config.WINDOW_HEIGHT_CONFIG_KEY), 
                    config.getBoolean(Config.WINDOW_FULLSCREEN_CONFIG_KEY));
            app.setTargetFrameRate(60);
            app.setShowFPS(false);
            app.start();
        } catch(IOException e) {
            e.printStackTrace();
        } catch(SlickException e) {
            e.printStackTrace();
        }
    }