Small changes

* Moved to static lib
* Changed send broadcast func