added doc questions and Extension method
added Loop statements and implemented method
changes to QueryExpressionPattern and some MVC