Start and Stop Appium from mac using Java

Continuing the discussion from Starting Appium server on mac using java client 3.2.0:

After a lot of search I got a helpful blog on this here - http://blog.rightqa.com/2015/08/start-stop-appium-server.html#comment-form