Initial port with fragments. It still needs a work. A lot of.

Signed-off-by: Mariusz Fik <fisiu@opensuse.org>