moving adapter and callback classes from commons into devkit-support