Optimized for different devices

Optimized code and config file for multiple devices (iOS, Android)