WIP - Removing OS dependent calls while starting AMF & Storing  get_sandbox_dir() in variable to prevent multiple calls & Change ASP to SAFplus in function names