Add ajax functionality to vote buttons. Refactor posts through modules.