added discussions and pledges model, working on views