Sorted out a lot to be modular. Mobile part not working correctly. Not sure Mobile seperation is needed.