Implement support for Erlang/OTP plugins and memory plugin

Memory plugin uses brain Erlang API