refactor Subscriptions API to class-based view
move Subscriptions API into own module