moved action names mapping to separate ActionNames class, moved also version logic to it and added specific tests for it