Make sure database path is created

addon failed as the path did not exist
use importlib instead of exec

remove exec and use importlib to load modules