added sensor socket on server side
cleaned up repo by removing unused and old code