added brigades table, added some tests to models, added brigade_id to ev...

...ents