Changed to prototype based design pattern
Changed to prototype based design pattern
Changed to prototype based design pattern\r\nAdded sanatizing for setRepeat