Created the class skeleton for Poll, also implemented urlID method