Added an API and models for activities.

Note: `user_routes` renamed to `activity`.