Added preInit and postInit and render() method for PirateApp