factored posts and commits menu
added postsmenu and commitsmenu files