remove deprecated
fix examples that were using deprecated methods
Merge pull request #71 from iceddev/removeDeprecated

Remove deprecated