improve tracing on screen
fix database pointer and create database status
main Thread
start implement socket operations