peripheral wrapper now uses the new annotation system
few changes to remove compile errors, method wrapper definitely not working yet