Add headless_client module
Fix mission library function