Sample Erlang Application Using Mnesia