What is the Market of Time supposed to do?
According to several different wiki pages (like this) it was supposed to allow heroes to unlearn skills:
Market of Time appears to have no function, however it was intended to let visiting heroes to unlearn secondary skills.