Forked some code from cjdnsadmin.js in contrib. Now automatically imports all the methods available. Added some testing for them, will add more later tomorrow/today. Need to clean up and optimize some parts too