iOS- Massive code overhaul and clean. Should be more readable now