add input system
remove needless Input class, implement client-side control