Finished function readProtocolApplications() and added function readProtocolApplication()