Split entry point out to separate file