Added pact main class.