bunch of changes. all the buggy html and js. fixes to rest service, it mostly works with curl now.