creation and initialization of objects in blog