Fully Function Shop

Fixed the bugs in the shop module, should work fine now.