updated controller classes
updated application and controller libraries
added classmate and friend models
added views
updated index.php