Adding database scheme for subscriptions and a frontend