separated main page portions into discrete modules