Added reset logic
refined movement logic
refined UI
fixed communication bugs
refactored client code