bugs fixed, cleaned up, standard operation working, config not ready

Signed-off-by: TheTesla <stefan.helmert@gmx.net>