Updating the framework to the latest form

See my android-scala-template-eventhub project on Github