Fix app

Create lib
Fix concurrency sockets requests
Dyn socket url