implemented basic server; refactored ui to use ractive partials