Added the Scanner class