Code and data for the main file