Merge pull request #14 from thePooh/master

Remade application requests logic