re factor code
added Vector class
added new UIElement code