reorganise packages
add json support for data trasnfer format