refactor launcher module