Initial version of main source file.