Mostly finalized client functionalities and testing.