add feature (phl 60%), add controller foreach handler, fix minor bugs, 
fix model of phl