UPDATE #15

Implemented correct terminating of the threads.

Next:
1. Add bqcore packet classes implementations
2. Try to change BQPacket from String type message to the Object type messages.