Added default constructor. Added setTitle method.