add basic constructor and getName()