Adding key generation, fixing css.