Conversion

Added support for bluetooth state
removed android looper
converted test form groovy to java
I'd still like to see this and the method rename below, then we can merge.