erlang: cleaned out leftover stub functions
erlang: converted ROM/RAM from lists to arrays
erlang: converted ROM/RAM from lists to arrays