Fixed some errors that prevent compiling, added MethodInteraction interface (for post, get, etc)