Fixed bit ordering and also loading of controller from redis