added a getmethod-function to moduleloader and rewrote execmethod. execmethod now calls the new getmethod-function