EBike Smart Controller