Splitted connexion / data fetching. Added function to fetch activity
list page.
activity{,List} functions: parse data and return associative array
instead of serving plain html.