working on app architecture