Rewrote command line input, began woring on MySQL connections, settings
now working.

Signed-off-by: John Kapri <john.kapri@gmx.net>