Calling af_init to initialize contexts

* af_init calls info function which initializes device manager

Fixes #92