data base structure is reworked
Sockets are moved to separated file revorked date base structure