update to 0.0.7
lots of changes to structure and contents of javascript files
some code clean up