Erlang/OTP is based on the idea of location transparency to the core, I would recommend you have a look at it.
If the Erlang syntax is too weird, Elixir allows you to use ruby-like syntax on the Erlang VM. It also comes with an absolutely amazingly powerful lisp-like macro system.