changed version to 2.0 because changes break compatibility
changed api call from static to object