Added fragment creation code.
Merged address and data into a stuct for tider code.