Refactors executor
executor.h include guard and includes necessary header.