Added support to Regions & Views with events, Changed strucute, included text.js library for requirejs