The Physics of Knowledge Management