finished skeleton
Added library initialisation to get subscriptions