change the main file to several file
add new file to control the main screen