Added comments and GUI added for client