Conversion

Added support for bluetooth state
removed android looper
converted test form groovy to java
Ok, if you could merge that into here that'd be great.