refactoring: better init file setup