Added Shop class and related functions