COMMON: add tests
COMMON: cleanup code
COMMON: ref var wip
COMMON: added ref var type
COMMON: added ref var type
Merge pull request #17 from chrisws/android

Added reference var type