Made sink code more efficient by removing check that device is registered. Also add file sink and some install instructions.