fixed cors and url parsing
updated cors and router. Added proxy