changed get dictionary method which implements displaying functionality also and changed wordsapi getting called from the root wordknik not from imports