A minimal Erlang behavior for creating CloudI internal services