moved main fragments into their own files