First step in converting to use cowboy

This will also result in an application as well.
Make first almost complete new version

Note the browser front-end still needs a lot of work to be usable.