fixed bugs on get pin position, improved zoom out, improved structure in object classes