Architectured

Finalized on the server structure and startup flow with parsing cli
args, config file and logging module.