Controllers for brushless motors: E-bikes require high initial torque and therefore models that use brushless motors typically have Hall sensor commutation for speed and angle measurement. An electronic controller provides assistance as a function of the sensor inputs, the vehicle speed and the required force. The controllers generally allow input by means of potentiometer or Hall Effect twist grip (or thumb-operated lever throttle), closed-loop speed control for precise speed regulation, protection logic for over-voltage, over-current and thermal protection. Bikes with a pedal assist function typically have a disc on the crank shaft featuring a ring of magnets coupled with a Hall sensor giving rise to a series of pulses, the frequency of which is proportional to pedaling speed. The controller uses pulse width modulation to regulate the power to the motor. Sometimes support is provided for regenerative braking but infrequent braking and the low mass of bicycles limits recovered energy. An implementation is described in an application note for a 200 W, 24 V Brushless DC (BLDC) motor.[43]

If you're more concerned with conquering the countryside than the commute, Cyclotricity's Stealth is the one for you. It's a full-size mountain bike, with aggressive tyres and suspension on the front forks to absorb the rocks and bumps on the trails. It's comfortable to ride, and its motor can either give you assistance while you ride, or you can just hit the throttle to rocket over hills with no effort on your part.
I like this little electric "scooter" a lot. I do think the rear wheels should be a bit further apart for added stability. I have also found it is too easy to "spin out" the front driver wheel when going up an incline or crossing a grass area. The user and assembly manual is minimal and could use considerably more information and more and better illustrations.
The great majority of modern bicycles have a frame with upright seating that looks much like the first chain-driven bike.[7][8][9] These upright bicycles almost always feature the diamond frame, a truss consisting of two triangles: the front triangle and the rear triangle. The front triangle consists of the head tube, top tube, down tube, and seat tube. The head tube contains the headset, the set of bearings that allows the fork to turn smoothly for steering and balance. The top tube connects the head tube to the seat tube at the top, and the down tube connects the head tube to the bottom bracket. The rear triangle consists of the seat tube and paired chain stays and seat stays. The chain stays run parallel to the chain, connecting the bottom bracket to the rear dropout, where the axle for the rear wheel is held. The seat stays connect the top of the seat tube (at or near the same point as the top tube) to the rear fork ends.
If you're taking your bike inside, consider one that folds up. The Cyclotricity Wallet has a motor in the front wheel, which takes you up to speed either by assisting your pedalling, or you can sit back and use the throttle by itself. Its folding design makes it slightly easier to get in and out of a building, but its hefty weight means you still won't find it easy to carry onto public transport.
Vehicles exceeding any of the criteria above must be registered and titled as a motorcycle. Other types of vehicles, such as electric scooters, "pocket rockets" and mini-choppers, may fit the definition of a moped or a motorcycle, but cannot be registered by the Department of State if they lack the equipment required by law to legally drive on public roads.[101]
On the other hand, the battery doesn’t lock into the bike, which means you can’t just leave it on your bike when you park at the bike rack. Anyone could walk by and simply remove your battery. That seems like an oversight to me, though perhaps the designers assumed that such a small battery would just be easy to take with you. And it is. My wife could probably lose this battery in her purse.