created a new calender class and main to be able to have product code