Revert "removed conflicting code"

This reverts commit e4e5f5d1be52f7057b5df5e77b2e9c6228e6de2a.
Revert "Revert "removed unused functions""

This reverts commit ae1a43790158eefbc4fe9717092d7ce7da662f8f.
Revert "refactored code in SalesForceRestAPI class"

This reverts commit 89428f47cc825ffb334c32c412443391d10389ef.
Revert "removed unused functions"

This reverts commit 9fa54eb2ee2ecd4d32e1fad0b31dc3f0d70ce1c8.