Removing thread architecture and adding Mobile app registration api