cleanup and commenting code. Yay.
modified the tests to take into acount the changes in the model
added the maximum number of participants constraint in the entry creation function, and wrote the appropriate test