implemented dynamic conf and startup in non-daemon mode