Added Mainclass to the shaded jar for direct jar execution

Updated apache code license