add thin and cache features

Signed-off-by: Vasiliy Tolstov <v.tolstov@selfip.ru>