Main files and basic functionality.