add a global load_path for app context
check if thread is alive before trying to kill it
Merge pull request #17 from mrpollo/api_load_path_context

Api load path context