cleanup + implemented part of the post module