Conversion

Added support for bluetooth state
removed android looper
converted test form groovy to java
I guess this might not be needed at all now?