Refactored part of postHandler into a new postService
Split postHandler specs into separate handler and service components