made timeslot more modular and added implemented some builtins