Made the scanner a private static to allow closing

Need to make a nice closing class...