added missing rest file, and console file