add main to package