moved action path split into ActionsManager
refactored action path macros code: simplified logic and some bug fixed
tests added and updated