Ranges manipulation

Introduces rangy, improves in plugins infrastructure (plugins registering, status on/off events).