Main code - initial commit.