adding main to package