Handling background tasks version 1

s/Application/*Application*/
s/Session/*Session*/