replaced deprecated methods
Merge pull request #3 from learning-layers/initial_backend_setup

replaced deprecated methods