Added pages and article models
Added PHPDoc comments to the functions
Changed the name function to something more logical
Wrote home page method