Creating Hero class and DAO