Add mainclass automatically to manifest