modularize initScreen