Add subscriptions system and prepare for emulator