Update agent loading interface

Note: there is an outstanding bug (https://github.com/opencog/opencog/issues/858) in the opencog repository that affects this functionality