Enable external usage of the cleanup method and add the posibility to set the queue to its maximum speed
Fixed thread issues with the sql commit on sqlite, Implement a brand new single threaded queue based on ExecutorService, the thread will sleep as long as possible when there is nothing to process, which means cpu usage near 0 and much faster to process new data if the thread was asleep.