Add main to package.