This is a team hack so all the code will not be posted here. However, I will post my portion of the code here :)