add class IOException and function parseShop(const std::string&)