An electric motor having a stator and a control module, where the stator includes a heat sink extending in a plane perpendicular to the axis of rotation of the motor, wherein stator tooth laminations are mounted on one side of the heat sink, wherein the heat sink comprises a first surface axially located on the other side wherein the heat sink includes at least one cooling channel for allowing a coolant to flow within the heat sink for providing cooling, thereby allowing the heat sink to extract heat from components attached to the heat sink, wherein the control module includes a power device having a power printed circuit board on which is mounted a power substrate assembly having switching elements for controlling current flow in coil windings mounted on the stator; a control device for controlling the operation of the switching elements; a housing with a first side for mounting to the first surface of the heat sink, wherein the first side of the housing includes an aperture for allowing the power substrate assembly of the power device to be in contract with the first surface of the heat sink when the housing is mounted to the first surface for providing cooling to the switching elements from the flow of the cooling fluid in the heat sink, wherein the power printed circuit board of the power device extends over a surface of the first side of the housing opposite to the surface mounted on the first surface of the heat sink, wherein the control device is arranged to be mounted in the housing on an opposite side of the power device to the first side of the housing and an elastomer is located over the power device and the control device for providing an electrical insulation barrier over the switches on the power device and electrical components on the control device, wherein apertures formed in the control module housing are arranged to match the positions and diameters of end portions of the coil windings that extend from the first surface of the stator heat sink thereby allowing the respective end portions of the coil windings to extend through the apertures when the control housing module is mounted to the first surface of the stator heat sink, wherein to facilitate the guiding of the coil windings as they pass through the aperture, the control module housing is arranged to have a conduit section formed around each aperture, and wherein the conduit sections formed around each of the respective apertures also prevent an elastomer placed in the control module housing from escaping through the apertures during the curing process for the elastomer. wherein stator tooth laminations are mounted on one side of the heat sink, wherein the heat sink comprises a first surface axially located on the other side wherein the heat sink includes at least one cooling channel for allowing a coolant to flow within the heat sink for providing cooling, thereby allowing the heat sink to extract heat from components attached to the heat sink, wherein the control module includes a power device having a power printed circuit board on which is mounted a power substrate assembly having switching elements for controlling current flow in coil windings mounted on the stator; a control device for controlling the operation of the switching elements; a housing with a first side for mounting to the first surface of the heat sink, wherein the first side of the housing includes an aperture for allowing the power substrate assembly of the power device to be in contract with the first surface of the heat sink when the housing is mounted to the first surface for providing cooling to the switching elements from the flow of the cooling fluid in the heat sink, wherein the power printed circuit board of the power device extends over a surface of the first side of the housing opposite to the surface mounted on the first surface of the heat sink, wherein the control device is arranged to be mounted in the housing on an opposite side of the power device to the first side of the housing and an elastomer is located over the power device and the control device for providing an electrical insulation barrier over the switches on the power device and electrical components on the control device, wherein apertures formed in the control module housing are arranged to match the positions and diameters of end portions of the coil windings that extend from the first surface of the stator heat sink thereby allowing the respective end portions of the coil windings to extend through the apertures when the control housing module is mounted to the first surface of the stator heat sink, wherein to facilitate the guiding of the coil windings as they pass through the aperture, the control module housing is arranged to have a conduit section formed around each aperture, and wherein the conduit sections formed around each of the respective apertures also prevent an elastomer placed in the control module housing from escaping through the apertures during the curing process for the elastomer.