Split main sketch to more files for better readability