Advance Install check

First it check if config file exsists or not. If not redirected to
intsall. While installing, if no config file found, it create and
proceeds.