Fix includes to really work with multiple apps, added hock for storing oauth token, refactored session token storage function