Updated copyright and email.
Extracted conditions into a separate file.