Refactored files for portability to mobile platform development.