Refactored some code
Edited reflection code to be (hopefully) Android compatible