Add wrap microposts helper, refactoring