Added view configuration from config.ini . Fixed bugs