Initial commit - basic functional scanner with (broken) curses front-end