Extra stuff, started using fork for server( may revert).