History and legends of the Kathmandu valley