Merge sam's work. Added angular routes. Fixed some bugs with publish version processing