Upgraded Android Studio from 0.36 to 0.51
Added a timer for sending UDP packets on a fixed rate. Minor refactoring.