reorganize the code & make the app as a nodejs global exec