Added comments to models, added published scope to page model and output published property on page index