args parsing + core initialization