added apsm Trends class
Merge https://github.com/aryelle-player/Zeitgeist