Moved routes to client, implemented collections