Adding in a gen server template from http://pupeno.com/2010/01/03/erlang-gen_server-template/ . Thanks.