udpated backend class and started working on server class