Add golbal setting and some pages

1. Add golbal setting and premesion controller;

2. Add instances page and api resource parser

Change-Id: I5f6aa9b8b664e559ccd71c2d6f197d5622e7571d