added routes class

Added Routes and JSONParser.