Create main source file