now reasonably ready
fixed minor bug
added backup feature