Create Life class with required methods and configure Travis CI