Added FromTo class

Will be used by event system.