ngram improvement & inital implementation of loading page