Added functionality to start tern server and load definitions