Removing a provider returns Promise
Initializing a provider, dedicated method
Use iniDataBase wrapping method
Do not use old addProvider method
Removing appgyver_sandbox manually
Create a provider if was not created earlier
Extra line space
Return provider object in promise, when created
Take full provider object for initializing the resources
Initialize the resource after provider is added
Resolve initializing the DB promise only after resource being ready
Do not check is a provider exists for initializing the resources
Fail with an error if provider cannot be initialized
Fail with an error if provider cannot be added
Return the whole provider object when getting a provider and use it then
Do not remove providers after creating. We need them :-)
Initialize a resource for the existing DB also
updateProviderInto works asyncly and returns promise
Codestyle
Old methods are not needed any more