Created consoleui

All UI interactions are moved to consoleui. There are 3 File
Descriptors for User Interaction: fd_in, fd_out, fd_log. They are set
in the config struct.
Update: Global Config

Pointer to global config as global variable. All functions are using
this global variable.
Merge branch 'codeCleanup'