created executor module for doing the actual execution