started implementation of objects for posts - not complete yet