Split this huge prototyping mess in a single lump into separate files. Better do this early then never.