Calling af_init to initialize contexts

* af_init calls info function which initializes device manager
Merge pull request #157 from shehzan10/devel

Calling af_init to initialize contexts