Split analyse.php up in different files

Split the analyse.php page up in different sections each with their own
files, like export.php.