updates made to various UI components for improved structure
adding comments to client side implementation
cleaning up client code structure