Handling of active objects using thread pool

Added classes for active objects (for example, burning objects). The actions of those active objects are handled by a thread pool.