Create Life class with required methods