Fragments implementation

Add fragments functionality to presetation