create scope class and consume across app