Make superloop in main

Signed-off-by: Philip Luyckx <philip.luyckx@gmail.com>