Integrated scala to macros, local abstract machine execution and service calls