Android Refactor

Refactored files to use #pragma strict so that the program could compile
to Android.