Rename main database loop to main database loop.c