Added Condition object

Allows for easier manipulation of the index and name (like a C struct)