add main file for local server