fiddling with svg animations
major refactor - tidying up angular code