work on startup (read configfiles + multithreadding)