add bootstrap, KeyGenerator and update AbstractController