modulized main and home