Basic API, todo: add rss, add API documentation.