Created the polyfunction at update()

Created another class for a second dog.
Initiated both classes on the main handler