Expose function to load external subs

Tweak SetRate a bit
Merge pull request #146 from babgvant/master

Expose function to load external subs