current state not working quite right, duplicating the index.html content, dunno why.  gonna try an erlang framework and see if its any easier to work with