Implemented the worker pool system
Fixed an timer bug and use an newer scala version