main file init