created support macros and scheduler skeleton