anchor.diff:  -module(mochi_shim).
  --export([out/1, start_mochi/1]).
  +-export([out/2, start_mochi/1]).
   
  -out(Req) ->
  +out(Req, Public) ->
       Method = Req:get(method),
   
       Abs_Path = Req:get(path),
   	[Full_Path|_] = string:tokens(Abs_Path, [$?]),
  -	io:format("fp:~p~n", [Full_Path]),
   	PathParts = string:tokens(Full_Path, [$/]),
   
   	Params = case Method of
  
positive.code: 	end,
  	Req:respond(Response).
  
  serve_static(Req, Full_Path) ->
  	Req:serve_file("", "/users/philpirj/source/ryan/application_example/public" ++ Full_Path).
  
  session(Cookies) ->
  	SID = [X || {"sid", X} <- Cookies],
  
negative.code: 	end.
  
  start_mochi(Port) ->
  	{ok, ApplicationPath} = file:get_cwd(),
  	io:format("Starting up Mochiweb to run in ~s~n", [ApplicationPath]),
  	Public = filename:join(ApplicationPath, "public"),
  	Loop = fun(Req) -> out(Req, Public) end,
  	mochiweb_http:start([{loop, Loop}, {port, Port}]),
  	loop().
  
  loop() ->
  