Updated to use resource file and updated web example to be functional