Split main.c into multiple files and improved code indentation