reworked part of actions to async
cleaned up unused imports