migrate to fragments

Signed-off-by: constpetrov <constant.petrov@gmail.com>