Implement some feature

Implement remove event;
Implement the history page;
Enhanced the main page and logic;
Changed to server side application;
fixed some bugs and solved some problems;