creation and initialization of objects for blog