Hooked up backend with client terminal

Fixed #8
Fixed #10