[minor] finished the loader API, refined extensions system.