Made the kernel program seriaziable

Fixed: The kernel program is now seriaziable.
Fixed: The process class will no longer compare executors in equals().