Implemented wishlistAPI and optimized dbModel