Frontend: Scan process (still no GUI, scan not added to the document yet)

Signed-off-by: Jerome Flesch <jflesch@gmail.com>