client entity conenct method and some style changes
added features