Conversion

Added support for bluetooth state
removed android looper
converted test form groovy to java
Let's extract the wait/notify methods to a separate interface, and then have a native Java and iOS compatible implementation.