updated api service to be app folder path independent
fixed api_path issue