moved XML out of be13_api; cleaned up use of options
completedly refactored plugin api to remove xml and hash dependency in be13_api