Add searching in extra paths

Add code to search in extra paths:
1. Try to read 'extra_path' from setting file.
2. When all attempts failed, try to directories specified by extra_path.