Added rpc jobadder functionality.

Added rpc jobadder functionality. Created a constants file to hold tokens being used for the barrier and remote termination.