Moved provider API to subpackage .api; solved minor scope issues

Change-Id: I88ea03f4ee075e0467cb79a57447ee9e0e6c6869
Signed-off-by: Konstantin Blagov <kblagov@cisco.com>