extract format adapter to libmodeling
move easymodeling's parser from d2d to libmodeling