Initialize.
Add logging code.
implimented codes to connect server.
Initialize.
Add logging code.
implimented codes to connect server.
 Rebase.
add args into  loggig_init function.
Merged curses_wrapper.
fixed the bug not to connect the server.