modified papi.avail, updated documentation, removed test code