Updated proxy to ec2 and move SVG logic into its own view