Added process api and fork is working now