add page template and some erlang details