resolve main class path