added discussions table, model and proxy