Adding main to package