Cleaned up Main.agda