Design and Implementation of an Electronic Control Unit for an Electric Motorcycle with Integrated BLDC Motor and Lithium-Ion Battery Management