A prototype front end for the QAL System